import promise from 'es6-promise'
import 'babel-polyfill'
promise.polyfill()
import Vue from 'vue'
import 'element-ui/lib/theme-chalk/index.css'
import ElementUI from 'element-ui'
import '@/styles/index.scss'
import App from './App'
// api
import api from '@/api'
import router from './router'
import store from './store'
import global from '@/utils/global'
Vue.prototype.global = global
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(api)
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')